public String[] getRowAt(int row) { String[] result = new String[colNumber]; for (int i = 0; i < colNumber; i++) { result[i] = table.getModel().getValueAt(row, col); } return result; }